﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TGBTech.Core.Models.DanhMuc;

namespace TGBTech.Core.Models.ChungTu
{
    [Table("CTChungTu")]
    public class CTChungTu
    {
        public int Id { get; set; }
        
        [Required]
        public String ChungTuId { get; set; }
        public virtual ChungTu ChungTu { get; set; }
        
        public String NguoiGiaoDich { get; set; }
       
        public String Kho { get; set; }
        
        public String DiaDiem { get; set; }
        
        [Required]
        public int ChiTietHangHoaId { get; set; }
        public virtual ChiTietHangHoa ChiTietHangHoa { get; set; }
        
        [Required]
        public int SoLuong { get; set; }
        
        [Required]
       
        public int DonGia { get; set; }
        
        public float VAT { get; set; }      // Xuat ban
    }
}
